Skip to content

Add missing null check in ApplicationContextAssertProvider#50456

Merged
snicoll merged 1 commit into
spring-projects:3.5.xfrom
scordio:missing-null-check
May 25, 2026
Merged

Add missing null check in ApplicationContextAssertProvider#50456
snicoll merged 1 commit into
spring-projects:3.5.xfrom
scordio:missing-null-check

Conversation

@scordio
Copy link
Copy Markdown
Contributor

@scordio scordio commented May 17, 2026

While working on a solution for what I mentioned at #40134 (comment), I noticed inconsistencies in the ApplicationContextAssertProviderTests method names, which led me to spot what I believe is a missing null check for contextSupplier in ApplicationContextAssertProvider.

@spring-projects-issues spring-projects-issues added the status: waiting-for-triage An issue we've not yet triaged label May 17, 2026
@scordio scordio force-pushed the missing-null-check branch from 11b4b6f to 6a58832 Compare May 17, 2026 14:46
@philwebb philwebb changed the title Add missing null check in ApplicationContextAssertProvider Add missing null check in ApplicationContextAssertProvider May 18, 2026
@philwebb philwebb added type: task A general task and removed status: waiting-for-triage An issue we've not yet triaged labels May 18, 2026
@philwebb philwebb added this to the 3.5.x milestone May 18, 2026
@scordio
Copy link
Copy Markdown
Contributor Author

scordio commented May 18, 2026

@philwebb would you like me to rebase this PR onto the 3.5.x branch?

@scordio scordio force-pushed the missing-null-check branch from 6a58832 to 8453c99 Compare May 18, 2026 15:52
@scordio scordio changed the base branch from main to 3.5.x May 18, 2026 15:52
@scordio
Copy link
Copy Markdown
Contributor Author

scordio commented May 18, 2026

@philwebb would you like me to rebase this PR onto the 3.5.x branch?

Done

@scordio scordio force-pushed the missing-null-check branch from 8453c99 to 75d105e Compare May 25, 2026 10:50
@snicoll snicoll self-assigned this May 25, 2026
@snicoll snicoll modified the milestones: 3.5.x, 3.5.15 May 25, 2026
See spring-projectsgh-50456

Signed-off-by: Stefano Cordio <stefano.cordio@gmail.com>
@snicoll snicoll force-pushed the missing-null-check branch from 75d105e to f91c8b6 Compare May 25, 2026 15:13
@snicoll snicoll merged commit 596e905 into spring-projects:3.5.x May 25, 2026
4 checks passed
@scordio scordio deleted the missing-null-check branch May 25, 2026 15:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

type: task A general task

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants